<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Categories extends CI_Controller
{
    /**
	* Constructor
	*
	* Requires needed models and helpers.
	* 
	* @access	public
	*/
    
    function __construct() {
        parent::__construct();
        $this->load->model('init_model');
        $this->load->helper('cookie');
		$this->load->library('auth');
		$this->auth->restrict();
    }
    
    /**
	* Index Controller
	*
	* Redirects to this->grid
	*
	* @access	public
	*/
    function index()
    {
        $data['nav'] = 'article';
        $this->init_model->display_template('categories/grid', $data, 'backend');
    }
}
/* End of file cateogries.php */
/* Location: ./application/controllers/backend/categories.php */ 
